package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author coderFu
 * @create 2021/10/14
 */
@ApiModel("删除动态DTO")
@Data
public class DeleteDynamicDTO {

    @ApiModelProperty("自增id")
    @Min(value = 1, message = "动态id必须大于等于1")
    private Integer dynamicId;
}
